package com.zxs.domain.convert;

import com.zxs.domain.entity.bo.SubjectLabelBO;
import com.zxs.domain.entity.dto.SubjectCategoryDTO;
import com.zxs.domain.entity.dto.SubjectLabelDTO;
import com.zxs.infra.basic.entity.SubjectCategory;
import com.zxs.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 标签dto的转换
 * @author zxs
 * @date 2025/11/4 下午9:40
 */
@Mapper
public interface SubjectLabelConvert {

    SubjectLabelConvert INSTANCE = Mappers.getMapper(SubjectLabelConvert.class);

    SubjectLabelBO convertDtoToLabelBO(SubjectLabelDTO subjectLabelDTO);

    SubjectLabel convertBoToLabel(SubjectLabelBO subjectLabelBO);

    List<SubjectLabelBO> convertToLabelBOS(List<SubjectLabel> subjectLabels);

}
